5b31c71520de67facad2405c66ef5310a21f1a72,applications/product/src/org/ofbiz/product/product/ProductsExportToGoogle.java,ProductsExportToGoogle,exportToGoogle,#DispatchContext#Map#,64
Before Change
if (token != null) {
result = postItem(token, postItemsUrl, developerKey, dataItemsXml);
if (ServiceUtil.isFailure(result))
return ServiceUtil.returnFailure(ServiceUtil.getErrorMessage(result));
} else {
Debug.logError("Error during authentication to Google Account", module);
return ServiceUtil.returnFailure(UtilProperties.getMessage(resource, "productsExportToGoogle.errorDuringAuthenticationToGoogle", locale));
After Change
String token = authenticate(authenticationUrl, accountEmail, accountPassword);
if (token != null) {
result = postItem(token, postItemsUrl, developerKey, dataItemsXml, locale);
String msg = ServiceUtil.getErrorMessage(result);
if (msg != null && msg.length() > 0) {
return ServiceUtil.returnFailure(msg);
}